<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>实名认证 - USDTMarket</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
    
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: '#165DFF',
                        success: '#36D399',
                        danger: '#F87272',
                        dark: '#1E293B',
                        light: '#F1F5F9',
                        'dark-blue': '#0F172A',
                        'light-blue': '#E0E7FF',
                    },
                    fontFamily: {
                        inter: ['Inter', 'sans-serif'],
                    },
                }
            }
        }
    </script>
    
    <style type="text/tailwindcss">
        @layer utilities {
            .content-auto {
                content-visibility: auto;
            }
            .scrollbar-hide {
                -ms-overflow-style: none;
                scrollbar-width: none;
            }
            .scrollbar-hide::-webkit-scrollbar {
                display: none;
            }
            .glass {
                background: rgba(255, 255, 255, 0.2);
                backdrop-filter: blur(10px);
                -webkit-backdrop-filter: blur(10px);
            }
            .card-hover {
                transition: all 0.3s ease;
            }
            .card-hover:hover {
                transform: translateY(-3px);
                box-shadow: 0 8px 15px -3px rgba(0, 0, 0, 0.1);
            }
            .step-card {
                transition: all 0.3s ease;
            }
            .step-card:hover {
                transform: translateY(-3px);
                box-shadow: 0 8px 15px -3px rgba(0, 0, 0, 0.1);
                border-color: theme('colors.primary');
            }
            .upload-area {
                transition: all 0.3s ease;
            }
            .upload-area:hover {
                border-color: theme('colors.primary');
                background-color: theme('colors.primary/5');
            }
            .progress-bar {
                transition: width 0.5s ease;
            }
            .kyc-step {
                display: none;
                transform: translateY(20px);
                transition: opacity 0.5s ease, transform 0.5s ease;
            }
            .kyc-step.active {
                display: block;
                transform: translateY(0);
            }
        }
    </style>
</head>
<body class="font-inter bg-gradient-to-br from-dark-blue to-dark min-h-screen text-light">
    <!-- 导航栏 -->
    <header class="fixed top-0 left-0 right-0 z-50 transition-all duration-300" id="navbar">
        <div class="container mx-auto px-4 py-3 flex items-center justify-between glass border-b border-white/10">
            <div class="flex items-center space-x-2">
                <div class="w-10 h-10 rounded-lg bg-primary flex items-center justify-center">
                    <i class="fa fa-exchange text-white text-xl"></i>
                </div>
                <h1 class="text-xl font-bold bg-gradient-to-r from-primary to-success bg-clip-text text-transparent">USDT<span class="text-sm font-normal ml-1">Market</span></h1>
            </div>
            
            <nav class="hidden md:flex items-center space-x-8">
                <a href="#" class="text-white/70 hover:text-primary transition-colors">首页</a>
                <a href="#" class="text-white/70 hover:text-primary transition-colors">购买USDT</a>
                <a href="#" class="text-white/70 hover:text-primary transition-colors">出售USDT</a>
                <a href="#" class="text-white/70 hover:text-primary transition-colors">交易记录</a>
                <a href="#" class="text-primary font-medium">账户中心</a>
            </nav>
            
            <div class="flex items-center space-x-4">
                <div class="relative">
                    <button class="flex items-center space-x-2 px-4 py-2 rounded-lg bg-primary/20 text-primary hover:bg-primary/30 transition-colors">
                        <i class="fa fa-user-circle-o text-xl"></i>
                        <span class="hidden md:inline">用户12345</span>
                        <i class="fa fa-angle-down"></i>
                    </button>
                </div>
                <button class="md:hidden text-white text-xl">
                    <i class="fa fa-bars"></i>
                </button>
            </div>
        </div>
    </header>

    <!-- 主内容区 -->
    <main class="container mx-auto px-4 pt-24 pb-16">
        <!-- 面包屑导航 -->
        <div class="mb-8 text-sm text-white/60">
            <a href="#" class="hover:text-primary transition-colors">首页</a> &gt; 
            <a href="#" class="hover:text-primary transition-colors">账户中心</a> &gt; 
            <span class="text-white">实名认证</span>
        </div>
        
        <!-- 页面标题 -->
        <div class="mb-12 text-center">
            <h2 class="text-[clamp(1.8rem,4vw,2.5rem)] font-bold mb-4">完成实名认证</h2>
            <p class="text-white/80 max-w-2xl mx-auto">为保障您的交易安全并符合相关法规要求，请完成以下实名认证步骤</p>
        </div>
        
        <!-- 认证进度 -->
        <div class="bg-dark-blue rounded-2xl p-6 border border-white/10 mb-12 max-w-4xl mx-auto">
            <div class="flex justify-between items-center mb-8">
                <div class="flex flex-col items-center" id="progress-1">
                    <div class="w-10 h-10 rounded-full bg-primary flex items-center justify-center text-white mb-2">
                        <i class="fa fa-user"></i>
                    </div>
                    <span class="text-sm">个人信息</span>
                </div>
                <div class="h-1 flex-1 mx-4 bg-white/10 rounded-full">
                    <div class="h-full bg-primary rounded-full" id="progress-bar-1" style="width: 0;"></div>
                </div>
                <div class="flex flex-col items-center" id="progress-2">
                    <div class="w-10 h-10 rounded-full bg-dark flex items-center justify-center text-white/50 mb-2">
                        <i class="fa fa-id-card-o"></i>
                    </div>
                    <span class="text-sm text-white/50">证件上传</span>
                </div>
                <div class="h-1 flex-1 mx-4 bg-white/10 rounded-full">
                    <div class="h-full bg-primary rounded-full" id="progress-bar-2" style="width: 0;"></div>
                </div>
                <div class="flex flex-col items-center" id="progress-3">
                    <div class="w-10 h-10 rounded-full bg-dark flex items-center justify-center text-white/50 mb-2">
                        <i class="fa fa-camera"></i>
                    </div>
                    <span class="text-sm text-white/50">人脸验证</span>
                </div>
            </div>
            
            <!-- 实名认证表单 -->
            <div class="kyc-step active" id="step-1">
                <h3 class="text-xl font-bold mb-6">填写个人信息</h3>
                
                <div class="bg-dark rounded-xl p-6 border border-white/10 mb-6">
                    <form id="personal-info-form">
                        <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
                            <div>
                                <label class="block text-white/70 mb-2 text-sm">姓名</label>
                                <input type="text" class="w-full px-4 py-3 bg-dark-blue border border-white/10 rounded-lg focus:outline-none focus:border-primary transition-colors" placeholder="请输入您的真实姓名">
                            </div>
                            
                            <div>
                                <label class="block text-white/70 mb-2 text-sm">证件类型</label>
                                <select class="w-full px-4 py-3 bg-dark-blue border border-white/10 rounded-lg focus:outline-none focus:border-primary transition-colors">
                                    <option>身份证</option>
                                    <option>护照</option>
                                    <option>港澳居民来往内地通行证</option>
                                    <option>台湾居民来往大陆通行证</option>
                                </select>
                            </div>
                            
                            <div>
                                <label class="block text-white/70 mb-2 text-sm">证件号码</label>
                                <input type="text" class="w-full px-4 py-3 bg-dark-blue border border-white/10 rounded-lg focus:outline-none focus:border-primary transition-colors" placeholder="请输入您的证件号码">
                            </div>
                            
                            <div>
                                <label class="block text-white/70 mb-2 text-sm">出生日期</label>
                                <input type="date" class="w-full px-4 py-3 bg-dark-blue border border-white/10 rounded-lg focus:outline-none focus:border-primary transition-colors">
                            </div>
                            
                            <div>
                                <label class="block text-white/70 mb-2 text-sm">手机号码</label>
                                <input type="tel" class="w-full px-4 py-3 bg-dark-blue border border-white/10 rounded-lg focus:outline-none focus:border-primary transition-colors" placeholder="请输入您的手机号码">
                            </div>
                            
                            <div>
                                <label class="block text-white/70 mb-2 text-sm">验证码</label>
                                <div class="flex">
                                    <input type="text" class="flex-1 px-4 py-3 bg-dark-blue border border-white/10 rounded-l-lg focus:outline-none focus:border-primary transition-colors" placeholder="请输入验证码">
                                    <button type="button" class="px-4 py-3 bg-primary text-white rounded-r-lg hover:bg-primary/90 transition-colors text-sm">获取验证码</button>
                                </div>
                            </div>
                        </div>
                    </form>
                </div>
                
                <div class="flex justify-end">
                    <button class="px-6 py-3 bg-primary text-white rounded-lg hover:bg-primary/90 transition-colors font-medium" onclick="nextStep(1)">
                        下一步 <i class="fa fa-arrow-right ml-2"></i>
                    </button>
                </div>
            </div>
            
            <!-- 证件上传步骤 -->
            <div class="kyc-step" id="step-2">
                <h3 class="text-xl font-bold mb-6">上传证件照片</h3>
                
                <div class="bg-dark rounded-xl p-6 border border-white/10 mb-6">
                    <p class="text-white/70 mb-6">请上传您的证件正反面照片，确保信息清晰可见</p>
                    
                    <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
                        <!-- 身份证正面 -->
                        <div>
                            <label class="block text-white/70 mb-2 text-sm">身份证正面</label>
                            <div class="upload-area h-64 rounded-lg border-2 border-dashed border-white/20 flex flex-col items-center justify-center cursor-pointer hover:bg-primary/5">
                                <i class="fa fa-cloud-upload text-4xl text-white/40 mb-3"></i>
                                <p class="text-white/60 mb-1">点击上传或拖拽文件到此处</p>
                                <p class="text-white/40 text-xs">支持JPG、PNG格式，不超过5MB</p>
                                <input type="file" class="hidden" accept="image/*">
                            </div>
                            <div class="mt-2 text-center">
                                <img src="https://picsum.photos/seed/id-front/300/200" alt="身份证正面示例" class="rounded-lg mx-auto h-20 object-cover opacity-70">
                            </div>
                        </div>
                        
                        <!-- 身份证反面 -->
                        <div>
                            <label class="block text-white/70 mb-2 text-sm">身份证反面</label>
                            <div class="upload-area h-64 rounded-lg border-2 border-dashed border-white/20 flex flex-col items-center justify-center cursor-pointer hover:bg-primary/5">
                                <i class="fa fa-cloud-upload text-4xl text-white/40 mb-3"></i>
                                <p class="text-white/60 mb-1">点击上传或拖拽文件到此处</p>
                                <p class="text-white/40 text-xs">支持JPG、PNG格式，不超过5MB</p>
                                <input type="file" class="hidden" accept="image/*">
                            </div>
                            <div class="mt-2 text-center">
                                <img src="https://picsum.photos/seed/id-back/300/200" alt="身份证反面示例" class="rounded-lg mx-auto h-20 object-cover opacity-70">
                            </div>
                        </div>
                    </div>
                </div>
                
                <div class="flex justify-between">
                    <button class="px-6 py-3 bg-dark rounded-lg border border-white/10 text-white hover:bg-white/10 transition-colors font-medium" onclick="prevStep(2)">
                        <i class="fa fa-arrow-left mr-2"></i> 上一步
                    </button>
                    <button class="px-6 py-3 bg-primary text-white rounded-lg hover:bg-primary/90 transition-colors font-medium" onclick="nextStep(2)">
                        下一步 <i class="fa fa-arrow-right ml-2"></i>
                    </button>
                </div>
            </div>
            
            <!-- 人脸验证步骤 -->
            <div class="kyc-step" id="step-3">
                <h3 class="text-xl font-bold mb-6">人脸验证</h3>
                
                <div class="bg-dark rounded-xl p-6 border border-white/10 mb-6">
                    <p class="text-white/70 mb-6">请确保光线充足，将面部正对摄像头，完成人脸验证</p>
                    
                    <div class="flex justify-center mb-6">
                        <div class="relative w-full max-w-md">
                            <div class="aspect-video bg-dark-blue rounded-xl border-2 border-primary/50 overflow-hidden flex items-center justify-center">
                                <img src="https://picsum.photos/seed/face/600/400" alt="人脸验证示例" class="w-full h-full object-cover">
                                <div class="absolute inset-0 flex items-center justify-center">
                                    <div class="w-64 h-64 rounded-full border-2 border-primary/70"></div>
                                </div>
                            </div>
                            <div class="absolute top-3 right-3 bg-primary/90 text-white text-xs px-2 py-1 rounded">
                                请对准面部
                            </div>
                        </div>
                    </div>
                    
                    <div class="grid grid-cols-1 md:grid-cols-3 gap-4 mb-6">
                        <div class="bg-dark-blue rounded-lg p-4 border border-white/10">
                            <div class="flex items-center mb-2">
                                <i class="fa fa-check-circle text-success mr-2"></i>
                                <span class="font-medium">光线充足</span>
                            </div>
                            <p class="text-white/60 text-sm">确保面部清晰可见</p>
                        </div>
                        
                        <div class="bg-dark-blue rounded-lg p-4 border border-white/10">
                            <div class="flex items-center mb-2">
                                <i class="fa fa-check-circle text-success mr-2"></i>
                                <span class="font-medium">摘掉眼镜</span>
                            </div>
                            <p class="text-white/60 text-sm">避免反光影响识别</p>
                        </div>
                        
                        <div class="bg-dark-blue rounded-lg p-4 border border-white/10">
                            <div class="flex items-center mb-2">
                                <i class="fa fa-check-circle text-success mr-2"></i>
                                <span class="font-medium">表情自然</span>
                            </div>
                            <p class="text-white/60 text-sm">不要遮挡面部</p>
                        </div>
                    </div>
                    
                    <div class="flex justify-center">
                        <button class="px-8 py-4 bg-primary text-white rounded-full hover:bg-primary/90 transition-colors font-medium flex items-center justify-center gap-2">
                            <i class="fa fa-camera text-xl"></i> 开始验证
                        </button>
                    </div>
                </div>
                
                <div class="flex justify-between">
                    <button class="px-6 py-3 bg-dark rounded-lg border border-white/10 text-white hover:bg-white/10 transition-colors font-medium" onclick="prevStep(3)">
                        <i class="fa fa-arrow-left mr-2"></i> 上一步
                    </button>
                    <button class="px-6 py-3 bg-primary text-white rounded-lg hover:bg-primary/90 transition-colors font-medium">
                        提交审核 <i class="fa fa-paper-plane ml-2"></i>
                    </button>
                </div>
            </div>
        </div>
        
        <!-- 实名认证须知 -->
        <div class="bg-dark-blue rounded-2xl p-6 border border-white/10 max-w-4xl mx-auto">
            <h3 class="text-xl font-bold mb-4">实名认证须知</h3>
            <ul class="space-y-3 text-white/80">
                <li class="flex items-start">
                    <i class="fa fa-info-circle text-primary mt-1 mr-2"></i>
                    <span>实名认证信息仅用于平台审核和安全保障，我们承诺严格保密您的个人信息。</span>
                </li>
                <li class="flex items-start">
                    <i class="fa fa-info-circle text-primary mt-1 mr-2"></i>
                    <span>请确保您提供的所有信息真实有效，虚假信息可能导致账户冻结。</span>
                </li>
                <li class="flex items-start">
                    <i class="fa fa-info-circle text-primary mt-1 mr-2"></i>
                    <span>审核时间通常为1-3个工作日，审核结果将通过站内消息和短信通知您。</span>
                </li>
                <li class="flex items-start">
                    <i class="fa fa-info-circle text-primary mt-1 mr-2"></i>
                    <span>完成实名认证后，您可以享受更高的交易限额和更安全的交易保障。</span>
                </li>
                <li class="flex items-start">
                    <i class="fa fa-info-circle text-primary mt-1 mr-2"></i>
                    <span>如有任何疑问，请联系我们的客服团队获取帮助。</span>
                </li>
            </ul>
        </div>
    </main>

    <!-- 页脚 -->
    <footer class="bg-dark-blue border-t border-white/10">
        <div class="container mx-auto px-4 py-12">
            <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8">
                <div>
                    <div class="flex items-center space-x-2 mb-4">
                        <div class="w-10 h-10 rounded-lg bg-primary flex items-center justify-center">
                            <i class="fa fa-exchange text-white text-xl"></i>
                        </div>
                        <h2 class="text-xl font-bold bg-gradient-to-r from-primary to-success bg-clip-text text-transparent">USDT<span class="text-sm font-normal ml-1">Market</span></h2>
                    </div>
                    <p class="text-white/60 mb-4">安全、便捷的USDT交易平台，支持多种本币出售，平台担保交易，保障资金安全</p>
                    <div class="flex space-x-4">
                        <a href="#" class="w-8 h-8 rounded-full bg-white/10 flex items-center justify-center text-white hover:bg-primary transition-colors">
                            <i class="fa fa-twitter"></i>
                        </a>
                        <a href="#" class="w-8 h-8 rounded-full bg-white/10 flex items-center justify-center text-white hover:bg-primary transition-colors">
                            <i class="fa fa-telegram"></i>
                        </a>
                        <a href="#" class="w-8 h-8 rounded-full bg-white/10 flex items-center justify-center text-white hover:bg-primary transition-colors">
                            <i class="fa fa-discord"></i>
                        </a>
                        <a href="#" class="w-8 h-8 rounded-full bg-white/10 flex items-center justify-center text-white hover:bg-primary transition-colors">
                            <i class="fa fa-github"></i>
                        </a>
                    </div>
                </div>
                
                <div>
                    <h3 class="text-lg font-bold mb-4">出售服务</h3>
                    <ul class="space-y-2">
                        <li><a href="#" class="text-white/60 hover:text-primary transition-colors">USDT出售流程</a></li>
                        <li><a href="#" class="text-white/60 hover:text-primary transition-colors">设置出售价格</a></li>
                        <li><a href="#" class="text-white/60 hover:text-primary transition-colors">添加收款方式</a></li>
                        <li><a href="#" class="text-white/60 hover:text-primary transition-colors">认证卖家权益</a></li>
                        <li><a href="#" class="text-white/60 hover:text-primary transition-colors">提现到银行卡</a></li>
                    </ul>
                </div>
                
                <div>
                    <h3 class="text-lg font-bold mb-4">资源中心</h3>
                    <ul class="space-y-2">
                        <li><a href="#" class="text-white/60 hover:text-primary transition-colors">新手教程</a></li>
                        <li><a href="#" class="text-white/60 hover:text-primary transition-colors">安全指南</a></li>
                        <li><a href="#" class="text-white/60 hover:text-primary transition-colors">常见问题</a></li>
                        <li><a href="#" class="text-white/60 hover:text-primary transition-colors">交易规则</a></li>
                        <li><a href="#" class="text-white/60 hover:text-primary transition-colors">联系客服</a></li>
                    </ul>
                </div>
                
                <div>
                    <h3 class="text-lg font-bold mb-4">法律合规</h3>
                    <ul class="space-y-2">
                        <li><a href="#" class="text-white/60 hover:text-primary transition-colors">隐私政策</a></li>
                        <li><a href="#" class="text-white/60 hover:text-primary transition-colors">服务条款</a></li>
                        <li><a href="#" class="text-white/60 hover:text-primary transition-colors">风险提示</a></li>
                        <li><a href="#" class="text-white/60 hover:text-primary transition-colors">合规声明</a></li>
                        <li><a href="#" class="text-white/60 hover:text-primary transition-colors">知识产权</a></li>
                    </ul>
                </div>
            </div>
            
            <div class="h-px bg-white/10 my-8"></div>
            
            <div class="flex flex-col md:flex-row justify-between items-center">
                <p class="text-white/60 text-sm mb-4 md:mb-0">© 2023 USDTMarket. 保留所有权利。平台不参与任何资金交易，仅提供信息匹配服务。</p>
                <div class="flex space-x-6">
                    <a href="#" class="text-white/60 hover:text-primary transition-colors text-sm">隐私政策</a>
                    <a href="#" class="text-white/60 hover:text-primary transition-colors text-sm">服务条款</a>
                    <a href="#" class="text-white/60 hover:text-primary transition-colors text-sm">风险提示</a>
                </div>
            </div>
        </div>
    </footer>

    <!-- JavaScript -->
    <script>
        // 导航栏滚动效果
        const navbar = document.getElementById('navbar');
        window.addEventListener('scroll', () => {
            if (window.scrollY > 10) {
                navbar.classList.add('bg-dark-blue/90');
                navbar.classList.add('shadow-lg');
            } else {
                navbar.classList.remove('bg-dark-blue/90');
                navbar.classList.remove('shadow-lg');
            }
        });
        
        // 实名认证步骤切换
        function nextStep(currentStep) {
            const steps = document.querySelectorAll('.kyc-step');
            
            // 隐藏当前步骤
            document.getElementById(`step-${currentStep}`).classList.remove('active');
            
            // 更新进度条
            if (currentStep === 1) {
                document.querySelector('#progress-bar-1').style.width = '100%';
            } else if (currentStep === 2) {
                document.querySelector('#progress-bar-2').style.width = '100%';
            }
            const item = document.getElementById(`progress-${currentStep + 1}`);
            // 更新步骤指示器
            item.querySelector('div').classList.remove('bg-dark', 'text-white/50');
            item.querySelector('span').classList.remove('text-white/50');
            item.querySelector('div').classList.add('bg-primary', 'text-white');
            
            // 显示下一步骤
            document.getElementById(`step-${currentStep + 1}`).classList.add('active');
        }
        
        function prevStep(currentStep) {
            const steps = document.querySelectorAll('.kyc-step');
            
            // 隐藏当前步骤
            document.getElementById(`step-${currentStep}`).classList.remove('active');
            
            // 更新进度条
            if (currentStep === 3) {
                document.querySelector('#progress-bar-2').style.width = '0';
            } else if (currentStep === 2) {
                document.querySelector('#progress-bar-1').style.width = '0';
            }
            const item = document.getElementById(`progress-${currentStep}`);
            // 更新步骤指示器
            item.querySelector('div').classList.add('bg-dark', 'text-white/50');
            item.querySelector('span').classList.add('text-white/50');
            item.querySelector('div').classList.remove('bg-primary', 'text-white');
            
            // 显示上一步骤
            document.getElementById(`step-${currentStep - 1}`).classList.add('active');
        }
        
        // 文件上传区域交互
        document.querySelectorAll('.upload-area').forEach(area => {
            const input = area.querySelector('input');
            const icon = area.querySelector('i');
            const text = area.querySelectorAll('p')[0];
            
            area.addEventListener('click', () => {
                input.click();
            });
            
            input.addEventListener('change', () => {
                if (input.files.length > 0) {
                    icon.className = 'fa fa-check-circle text-4xl text-success mb-3';
                    text.textContent = '文件已上传';
                    text.className = 'text-success mb-1';
                }
            });
        });
    </script>
</body>
</html>    